# class JK(object):
#     def func(self):
#         return "funcwe"
#     def kt(self,value):
#         self._jdf = value
#     jdf = property(func, kt)
#
#
# z = JK()
# print(z.jdf)
# z.jdf = "20230"
# print(z.jdf)
class JK(object):
    def func(self):
        return self._jdf

    def kt(self, value):
        self._jdf = value

    jdf = property(func, kt)


# 创建一个 JK 的实例
jk_instance = JK()
print(jk_instance.jdf)
# 设置 jdf 属性的值
jk_instance.jdf = "New Value"

# 访问 jdf 属性的值
print(jk_instance.jdf)  # 输出: New Value
